import { types } from "mobx-state-tree"

export const MineStoreModel = types
  .model("MineStoreModel", {
    changeUsername: ""
  })
  .views(self => ({}))
  .actions(self => ({
    getInfo() {},

    changeUsernameOnChange(text) {
      self.changeUsername = text
    },
    changeUsernameClear() {
      self.changeUsername = ""
    }
  }))
